package com.zhehekeji.opsys.api.resp;

import com.zhehekeji.opsys.api.common.util.SuperResp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class GetChannelSchedProgramListResp extends SuperResp {

    private Integer recordSize;
    List<ChnlSchedProgramInfo> chnlSchedProgramInfos;

    public Integer getRecordSize() {
        return recordSize;
    }

    public void setRecordSize(Integer recordSize) {
        this.recordSize = recordSize;
    }

    public List<ChnlSchedProgramInfo> getChnlSchedProgramInfos() {
        return chnlSchedProgramInfos;
    }

    public void setChnlSchedProgramInfos(List<ChnlSchedProgramInfo> chnlSchedProgramInfos) {
        this.chnlSchedProgramInfos = chnlSchedProgramInfos;
    }

    public static class ChnlSchedProgramInfo implements Serializable {
        private Integer index;
        private String seriesCode;
        private Long duration;
        private String playtime;
        private String endtime;
        private String address;
        private Integer serieNo;
        private Integer status;
        private Long cpCode;

        public Integer getIndex() {
            return index;
        }

        public void setIndex(Integer index) {
            this.index = index;
        }

        public String getSeriesCode() {
            return seriesCode;
        }

        public void setSeriesCode(String seriesCode) {
            this.seriesCode = seriesCode;
        }

        public Long getDuration() {
            return duration;
        }

        public void setDuration(Long duration) {
            this.duration = duration;
        }

        public String getPlaytime() {
            return playtime;
        }

        public void setPlaytime(String playtime) {
            this.playtime = playtime;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public Integer getSerieNo() {
            return serieNo;
        }

        public void setSerieNo(Integer serieNo) {
            this.serieNo = serieNo;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Long getCpCode() {
            return cpCode;
        }

        public void setCpCode(Long cpCode) {
            this.cpCode = cpCode;
        }

		public String getEndtime() {
			return endtime;
		}

		public void setEndtime(String endtime) {
			this.endtime = endtime;
		}
    }
}
